Piwik\Http D

Total Complexity 170
Dependencies 13
Dependents 32
Total lines 1,029
Lines of code 613
Logical lines of code 341
Comment lines 259
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
sendHttpRequestBy()
D
0
127 440
downloadChunk()
A
38 12 70
parseHeaderLine()
S
58 4 15
getTransportMethod()
S
61 4 13
ensureDestinationDirectoryExists()
S
63 4 10
getModifiedSinceHeader()
S
63 3 10
getProxyConfiguration()
S
62 2 11
isCurlEnabled()
S
78 2 3
sendHttpRequest()
S
69 2 5
configCurlCertificate()
S
65 2 9
getUserAgent()
S
72 2 5
truncateStr()
S
70 2 6
isSocketEnabled()
S
80 1 3
buildQuery()
S
78 1 3
buildHeadersForPost()
S
72 1 5
fetchRemoteFile()
S
71 1 5